package com.tms.vehiclemanagement.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 车辆管理对象 vehiclemanagement
 *
 * @author ruoyi
 * @date 2024-11-05
 */
public class Vehiclemanagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String id;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String licensePlate;

    /** 车型 */
    @Excel(name = "车型")
    private String chexing;

    /** 车长 */
    @Excel(name = "车长")
    private String length;

    /** 车辆颜色 */
    private String color;

    /** 车辆品牌 */
    private String brand;

    /** 核定载客 */
    @Excel(name = "核定载客")
    private String seatingCapacity;

    /** 核定体积 */
    @Excel(name = "核定体积")
    private String cargoVolume;

    /** 核载重量 */
    @Excel(name = "核载重量")
    private Integer cargoWeigth;

    /** 出厂日期 */
    private Date manufacturingDate;

    /** 车辆年限 */
    private String vehicleAge;

    /** 制造商 */
    private String manufacturer;

    /** 车主 */
    @Excel(name = "车主")
    private Integer did;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 车辆图片 */
    private String image;

    /** 备注信息 */
    private String bei;

    @TableField(exist = false)
    private String dname;

    public void setDname(String dname){this.dname = dname;}

    public String getDname(){return dname;}

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setLicensePlate(String licensePlate)
    {
        this.licensePlate = licensePlate;
    }

    public String getLicensePlate()
    {
        return licensePlate;
    }
    public void setChexing(String chexing)
    {
        this.chexing = chexing;
    }

    public String getChexing()
    {
        return chexing;
    }
    public void setLength(String length)
    {
        this.length = length;
    }

    public String getLength()
    {
        return length;
    }
    public void setColor(String color)
    {
        this.color = color;
    }

    public String getColor()
    {
        return color;
    }
    public void setBrand(String brand)
    {
        this.brand = brand;
    }

    public String getBrand()
    {
        return brand;
    }
    public void setSeatingCapacity(String seatingCapacity)
    {
        this.seatingCapacity = seatingCapacity;
    }

    public String getSeatingCapacity()
    {
        return seatingCapacity;
    }
    public void setCargoVolume(String cargoVolume)
    {
        this.cargoVolume = cargoVolume;
    }

    public String getCargoVolume()
    {
        return cargoVolume;
    }
    public void setCargoWeigth(Integer cargoWeigth)
    {
        this.cargoWeigth = cargoWeigth;
    }

    public Integer getCargoWeigth()
    {
        return cargoWeigth;
    }
    public void setManufacturingDate(Date manufacturingDate)
    {
        this.manufacturingDate = manufacturingDate;
    }

    public Date getManufacturingDate()
    {
        return manufacturingDate;
    }
    public void setVehicleAge(String vehicleAge)
    {
        this.vehicleAge = vehicleAge;
    }

    public String getVehicleAge()
    {
        return vehicleAge;
    }
    public void setManufacturer(String manufacturer)
    {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer()
    {
        return manufacturer;
    }
    public void setDid(Integer did)
    {
        this.did = did;
    }

    public Integer getDid()
    {
        return did;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setImage(String image)
    {
        this.image = image;
    }

    public String getImage()
    {
        return image;
    }
    public void setBei(String bei)
    {
        this.bei = bei;
    }

    public String getBei()
    {
        return bei;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("licensePlate", getLicensePlate())
            .append("chexing", getChexing())
            .append("length", getLength())
            .append("color", getColor())
            .append("brand", getBrand())
            .append("seatingCapacity", getSeatingCapacity())
            .append("cargoVolume", getCargoVolume())
            .append("cargoWeigth", getCargoWeigth())
            .append("manufacturingDate", getManufacturingDate())
            .append("vehicleAge", getVehicleAge())
            .append("manufacturer", getManufacturer())
            .append("did", getDid())
            .append("status", getStatus())
            .append("image", getImage())
            .append("bei", getBei())
            .append("dname", getDname())
            .toString();
    }
}
